﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Login.aspx.cs" Inherits="WebUI.Login" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>用户登录</title>
    <style type="text/css">
        body
        {
            background-color: #065076;
            margin: 0px;
        }
        .LoginWindow
        {
            width: 866px;
            height: 458px;
            position: absolute;
            top: 50%;
            left: 50%;
            margin-top: -229px;
            margin-left: -433px;
        }
        .Title
        {
            width: 567px;
            height: 97px;
            margin-right: auto;
            margin-left: auto;
            background-image: url('images/title.png');
            background-repeat: no-repeat;
        }
        .Window
        {
            margin-top: 19px;
            width: 866px;
            height: 342px;
            background-image: url('images/login.png');
            background-repeat: no-repeat;
            padding-left: 400px;
            padding-top: 92px;
        }
        .LoginInfo
        {
            width: 420px;
            height: 230px;

        }
        .Username
        {
            margin-top: 10px;
            margin-left: 125px;
            height: 200px;
        }
        .tbUsername
        {
            width: 200px;
            height: 26px;
            position: relative;
            top: 6px;
            font-size: medium;
            font-weight: normal;
            font-family: 微软雅黑;
        }
        .tbPWD
        {
            width: 200px;
            height: 26px;
            position: relative;
            top: 40px;
            font-size: medium;
            font-weight: normal;
            font-family: 微软雅黑;
        }
        .rblRole
        {
            position: relative;
            top: 50px;
            font-family: 微软雅黑;
            font-weight: bold;
            color: #FFFFFF;
        }
        .btnLogin
        {
            position: relative;
            top: 66px;
        }
        </style>
</head>
<body>
    <form id="form1" runat="server">
    <div class="LoginWindow">
<div class="Title"></div>
<div class="Window">
<div class="LoginInfo">
<div class="Username">
    <asp:TextBox ID="tbxUserName" CssClass="tbUsername" runat="server"></asp:TextBox>
    <asp:TextBox ID="tbxPassword" TextMode="Password" CssClass="tbPWD" runat="server"></asp:TextBox>
    <asp:RadioButtonList ID="rbl_role" CssClass="rblRole" runat="server" 
        RepeatDirection="Horizontal" Width="320px">
        <asp:ListItem Value="2" Text="老师"></asp:ListItem>
        <asp:ListItem Value="1" Text="学生"></asp:ListItem>
        <asp:ListItem Value="3" Text="管理员"></asp:ListItem>
    </asp:RadioButtonList>
    <asp:ImageButton ID="ImageButton1" runat="server"  CssClass="btnLogin"
        ImageUrl="~/images/loginButton.png" OnClick="btnLogin_Click"  />
    </div>
</div>
</div>
</div>
    </form>
</body>
</html>
